package eteam.aps.service;

import eteam.aps.model.entity.other.ProcessQuality;
import eteam.aps.model.entity.other.ScanProcess;
import eteam.aps.model.vo.moco_rders.MocoRdersDisplayVo;
import eteam.aps.model.vo.scan.ScanProcessShow;

/**
 * 工序质检 业务层
 *
 * @author LiuLei
 */
public interface ProcessQualityService {

    /**
     * 根据扫描信息返回扫描数据
     *
     * @param scanProcess 扫描值
     * @return 扫描数据
     * @throws Exception 异常
     */
    ScanProcessShow<?> scanInfo(ScanProcess scanProcess) throws Exception;

    /**
     * 报工
     * @param processQuality 扫描值
     * @return 报工信息
     */
    ScanProcessShow<MocoRdersDisplayVo> submit(ProcessQuality processQuality) throws Exception;

}
